<%@ page contentType="text/html; charset=UTF-8" import="java.util.*"%>
<%
  String strOnLoadScript="";

  if (request.getParameter("prgAction") != null &&
      request.getParameter("prgAction").equals("upload")) {
      Hashtable lhtAttReqInfo=new Hashtable();

      lhtAttReqInfo.put("table","swd_attach");
      lhtAttReqInfo.put("flow_code","APR");
      lhtAttReqInfo.put("flow_num","APR2007070001");
      lhtAttReqInfo.put("seqnum","0");
      lhtAttReqInfo.put("dbf_no","imm");
      lhtAttReqInfo.put("fld_no","null");
      lhtAttReqInfo.put("max_size",String.valueOf(30*1024*1024));
      lhtAttReqInfo.put("ver_no","1");
      lhtAttReqInfo.put("fw_no","");
      lhtAttReqInfo.put("storage","FILE");
      lhtAttReqInfo.put("file_path","d:/123/APR");
      lhtAttReqInfo.put("att_ifrm_name","");

      request.getSession().setAttribute("att_req_info",lhtAttReqInfo);
      session.setAttribute("u_id","05227");

      strOnLoadScript="window.open('UploadFile.jsp');";
  }
%>
<html>
<head>
<title>
testUploadFile
</title>
</head>
<body bgcolor="#ffffff" onload="<%=strOnLoadScript%>">
<form method="post" action="testUploadFile.jsp">
<input type="hidden" name="prgAction" value="upload" />
<input type="submit" name="Submit" value="Submit">
<input type="reset" value="Reset">
</form>
</body>
</html>
